Use PEDeleteNthSortField to remove the specified sort field from the sort order. This function is used as part of a Custom
This function can be used by itself to delete an existing sort field when the sort field number is already known or as one of a series of functions (PEGetNSortFields, called once; var reportAlertInfo : PEReportAlertInfo) : boolean stdcall; and PEGetHandleString called together as many times as needed to identify the correct sort field; and PEDeleteNthSortField called once, when the correct sort field is identified). The series can be used in a Custom
BOOL CRPE_API PEDeleteNthSortField (
short printJob,
short sortFieldN );
This function should be called before PEStartPrintJob, or the results may be inconsistent or unexpected.
Declare Function PEDeleteNthSortField Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal SortFieldN As Integer ) As Integer
function PEDeleteNthSortField (
printJob: Word;
sortFieldN: integer
): Bool stdcall;
EXTERN CLOGICAL PEDeleteNthSortField (CWORD, CWORD) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |